#include "StdAfx.h"
#include "Launcher.h"


Launcher::Launcher(
	//Ogre::String entityName,
	Ogre::String szelleMeshName,
	Ogre::Vector3 position,
	Ogre::Vector3 velocity,
	float cooldown
	)
	:
	//entityName(entityName),
	modelMeshName(szelleMeshName),
	position(position),
	velocity(velocity),
	cooldown(cooldown),
	cooldownRemaining(cooldown)
{
}


Launcher::~Launcher(void)
{
}

//Ogre::String Launcher::getEntityName()
//{
//	return entityName;
//}

Ogre::String Launcher::getModelMeshName()
{
	return modelMeshName;
}

Ogre::Vector3 Launcher::getPosition()
{
	return position;
}

Ogre::Vector3 Launcher::getVelocity()
{
	return velocity;
}


float Launcher::getCooldown()
{
	return cooldown;
}

void Launcher::resetCooldown()
{
	cooldownRemaining = cooldown;
}


float Launcher::setCooldownRemaining(float cdr)
{
	cooldownRemaining = cdr;
	return cooldownRemaining;
}

float Launcher::getCooldownRemaining()
{
	return cooldownRemaining;
}
